Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trace proxy, improve logs #1385

Merged
merged 1 commit into from
May 26, 2024
Merged

Conversation

garberg
Copy link
Member

@garberg garberg commented May 26, 2024

Fix the tracing proxy function by removing the Host header from the headers received from tracing client before POST:ing it to the tracing receiver.

Improve logging of how the setup of tracing is progressing.

@garberg garberg self-assigned this May 26, 2024
return post(f'{endpoint}{path}', data=request.data, headers=request.headers).content

# Remove Host-header as it's set to the host running nipapd.
headers = { k: v for k, v in request.headers }

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whitespace after '{'
whitespace before '}'

Fix the tracing proxy function by removing the Host header from the
headers received from tracing client before POST:ing it to the tracing
receiver.

Improve logging of how the setup of tracing is progressing.
@garberg garberg merged commit 7037dcb into SpriteLink:master May 26, 2024
5 checks passed
@garberg garberg deleted the nipapd_otel_proxy branch May 27, 2024 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants